/**
 * 提供API接口以及全局存储空间
 * 
 * @author 杨斌
 * @since 2019-05-19
 */
import store from './store'
import homepageApi from './homepage-api'
import passportApi from './passport-api'
import productApi from './product-api'
import userCentertApi from './usercenter-api'
import orderApi from './order-api'
import messageApi from './message-api'
import ticketApi from './ticket-api'
import addressApi from './address-api'


import Vue from 'vue'

var api = {
    store,
    homepage: homepageApi,
    passport: passportApi,
    product: productApi,
    usercenter: userCentertApi,
    order: orderApi,
    message: messageApi,
    ticket: ticketApi,
    address: addressApi,
};

Vue.prototype.API = api;


export default api